<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>小米布局案例</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        div.outer_div {
            width: 1226px;
            height: 285px;
            background-color: pink;
            margin: 100px auto;
        }

        div.inner_div1 {
            width: 296px;
            height: 285px;
            background-color: aqua;
            float: left;
            margin-right: 14px;
        }

        div.inner_div2 {
            width: 296px;
            height: 285px;
            background-color: rgb(48, 41, 174);
            float: left;
            margin-right: 14px;
        }

        div.inner_div3 {
            width: 296px;
            height: 285px;
            background-color: rgb(200, 209, 26);
            float: left;
            margin-right: 14px;
        }

        div.inner_div4 {
            width: 296px;
            height: 285px;
            background-color: rgb(207, 70, 143);
            float: left;
            margin-right: 0px;
        }
    </style>
</head>

<body>
    <div class="outer_div">
        <div class="inner_div1"></div>
        <div class="inner_div2"></div>
        <div class="inner_div3"></div>
        <div class="inner_div4"></div>
    </div>
</body>

</html>